@import '../index';

@numberInfo-prefix-cls: ~"@{ant-pro-prefix}-number-info";

.@{numberInfo-prefix-cls} {
  .ant-pro-number-info-subtitle {
    overflow: hidden;
    height: 22px;
    font-size: @font-size-base;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: @text-color-secondary;
    line-height: 22px;
    word-break: break-all;
  }
  .number-info-value {
    overflow: hidden;
    margin-top: 4px;
    font-size: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
    & > span {
      display: inline-block;
      margin-right: 32px;
      height: 32px;
      font-size: 24px;
      color: @heading-color;
      line-height: 32px;
    }
    .sub-total {
      margin-right: 0;
      font-size: @font-size-lg;
      color: @text-color-secondary;
      vertical-align: top;
      i {
        margin-left: 4px;
        font-size: 12px;
        transform: scale(0.82);
      }
      :global {
        .anticon-caret-up {
          color: @red-6;
        }
        .anticon-caret-down {
          color: @green-6;
        }
      }
    }
  }
}